package com.example.auth.repository;

import com.example.auth.entity.TaskEvaluation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;


@Repository
public interface TaskEvaluationRepository extends JpaRepository<TaskEvaluation, Long> {
    

    Optional<TaskEvaluation> findByTaskId(Long taskId);
    

    void deleteByTaskId(Long taskId);
} 